package com.huilian.iotbox.admin.activity.dao;

import com.huilian.iotbox.data.dto.ActivityDto;
import com.huilian.iotbox.data.dto.ActivityOrderDto;
import com.huilian.iotbox.data.vo.ActivityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lizhiquan
 * @CreateDate: 2022-06-06 17:18
 * @Description:
 */
@Mapper
public interface ActivityDao {
    List<ActivityVo> findAllActivityByBeginAndEnd(@Param("stateArray") int[] stateArray);

    List<ActivityVo> findSuccessTotalAmountByDeviceList(ActivityOrderDto activityOrderDto);
}
